<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/js/jquery.mobile-1.3.2/jquery.mobile-1.3.2.min.css"/>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.cookie.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.mobile-1.3.2/jquery.mobile-1.3.2.min.js"></script>
<script type="text/javascript">
jQuery(function($){
	$("#login").click( function () {
		//$('#LoginFM').submit();
		window.location.href = "welcome.jsp";
	});
	$('#menuId').click(function(event){
		if(event == null){
			event = window.event;
		}
		doCanvas(event);
	});
	$("#attach").click( function () { 
		window.open("common/attach.jsp");
	});
});
</script>
</head>
<body>

	<div data-role="page" id="pageone" style="width: 100%">
		<div data-role="header">
			<h1>欢迎登录</h1>
		</div>
		<div data-role="content">
			<p>&nbsp;</p>
			<form id="LoginFM" action="welcome.jsp" method="post">
				<div data-role="fieldcontain" style="margin: 10px">
					<label for="userCode">用户名：</label> <input type="text"
						name="userCode" id="userCode"> <label for="passWord">密码：</label>
					<input type="passWord" name="passWord" id="passWord"> <label
						for="email">邮件：</label> <input type="email" name="email"
						id="email" placeholder="您的邮件地址.."> <label for="sacePass">记住密码</label>
					<input type="checkbox" name="savePass" id="sacePass">
				</div>
			</form>
		</div>
		<div data-role="footer">
			<div data-role="navbar">
				<ul>
					<li><a href="#" data-icon="info" id="attach">注册</a></li>
					<li><a href="#" data-icon="check" id="login">登录</a></li>
				</ul>
			</div>
		</div>
	</div>
</body>
</html>
